<!DOCTYPE html
    PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>实验报告</title>
    <meta name="keywords" content="" />
    <meta name="description" content="" />
    <link rel="stylesheet" type="text/css" href="http://uav.ilab.nut.edu.cn/skin/school45/core/header/common.css" />
    <link rel="stylesheet" type="text/css" href="http://uav.ilab.nut.edu.cn/skin/school45/core/header/header.css" />
    <link rel="stylesheet" type="text/css" href="http://uav.ilab.nut.edu.cn/skin/label/label.css" />
    <link rel="stylesheet" type="text/css" href="http://uav.ilab.nut.edu.cn/skin/school45/cms/style.css" />
    <link rel="stylesheet" type="text/css" href="http://uav.ilab.nut.edu.cn/skin/school45/cms/index/index.css" />
    <link rel="stylesheet" type="text/css" href="http://uav.ilab.nut.edu.cn/images/category_selector.css" />
    <link rel="stylesheet" type="text/css" href="http://uav.ilab.nut.edu.cn/skin/default/core/forms/style.css" />
    <script type="text/javascript" src="http://uav.ilab.nut.edu.cn/js/config.js"></script>
    <script type="text/javascript" src="http://uav.ilab.nut.edu.cn/js/util.js"></script>
    <script type="text/javascript" src="http://uav.ilab.nut.edu.cn/js/lab_platform.js"></script>
    <script type="text/javascript" src="http://uav.ilab.nut.edu.cn/js/lang/core/zh-cn.js"></script>
    <script type="text/javascript" src="http://uav.ilab.nut.edu.cn/js/jq_validator.js"></script>
    <script type="text/javascript" src="http://uav.ilab.nut.edu.cn/js/upload.js"></script>
    <script type="text/javascript" src="http://uav.ilab.nut.edu.cn/js/core/label/label.js"></script>
    <!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
    <script src="js/jquery-3.3.1.js"></script>
   
</head>

<body>
    <div class="wrap">
        <div class="header">
           
        </div>
    </div>
    <div class="wrap">
        <div class="nav_menu clearfix">
            <div class="home_link">
                <a href="index.html" title="首页">&nbsp; </a>
            </div>
            <ul id="menu_nav">
                <li><a href="pro_content.html" target="">实验内容</a> </li>
                <li><a href="pro_aim.html" target="">实验目的</a> </li>
                <li><a href="pro_theory.html" target="">实验原理</a> </li>
                <li><a href="pro_predict.html" target="">预设故障</a> </li>
                <li><a href="pro_teach.html" target="">教学方法</a> </li>
                <li><a href="lab_method.html" target="">实验方法</a> </li>
                <li><a href="pro_step.html" target="">实验步骤</a> </li>
                <li><a href="pro_access.html" target="">考核方法</a> </li>
                <li><a href="pro_feature.html" target="">项目特色</a> </li>
                <li><a href="pro_service.html" target="">服务计划</a> </li>
            </ul>
        </div>

        <div class="container mtop" style="height:auto">
            <a href="#" target="_blank" title="" style="text-decoration:none;"><img width="960" height="204"
                    border="none" alt=""
                    src="images/banner.jpg" /></a>
        </div>

<!--        <div class="position">-->
<!--            你的位置：-->
<!--            <a href="index.html">首页</a> &gt;-->
<!--            <a href="lab_report.html">实验报告</a>-->
<!--        </div>-->

        <div class="container forms_div">
            <div class="forms_head">
                实验报告
            </div>
            <div class="forms_main">
                <form id="editForm" action="" method="get">
                    <table width="100%" cellpadding="5" cellspacing="0" class="pop_table">
                        <!--简单布局开始-->
                        <tbody>
                            <tr>
                                <td class="tdL" valign="top">实验过程: <font color="red">*</font>
                                </td>
                                <td class="tdR">
                                    <textarea
                                        name="process" id="process" class="txtar" cols="120"
                                        rows="25"></textarea>
                                </td>
                            </tr>

                            <tr>
                                <td class="tdL" valign="top">实验结果: <font color="red">*</font>
                                </td>
                                <td class="tdR">
                                    <textarea
                                        name="result" id="result" class="txtar" cols="120"
                                        rows="20"></textarea>
                                </td>
                            </tr>

                            <tr>
                                <td class="tdL" valign="top">实验心得体会: <font color="red">*</font>
                                </td>
                                <td class="tdR">
                                    <textarea
                                        name="feel" id="feel" class="txtar" cols="120"
                                        rows="20"></textarea>
                                </td>
                            </tr>


                        </tbody>
                    </table>
                    <div style="padding-left:100px">
                        <input type="submit" id="btn_sub"  class="forms_btn" value="提 交" />
                        <input type="reset" class="forms_btn" value="取 消" />
                    </div>
                </form>
            </div>
        </div>
       
        <div class="frindlink">
        </div>
        <div id="footer">
            <ul>
                <li>校址：山西省太原市学院路3号</li>
        
                <li>Powered by <a href="http://www.nuc.edu.cn" target="_blank" class="vison">中北大学</a> Code &copy;2019</li>
            </ul>
        </div>
    </div>
    <script type="text/javascript">
        //去掉背景,或者更换为新的背景
        $(function () {
            document.body.style.background = "url('images/zb.jpg') no-repeat center top";
        })

        $("#btn_sub").click(function () {
            alert("ddd")
            //发送ajax请求提交表单数据
            $.post("user/report", $("#editForm").serialize(), function (data) {
                if (data.flag) {
                    //提交实验报告成功，重置表单
                    alert(data.errorMsg)
                    document.getElementById("editForm").reset()
                } else {
                    //提交失败尝试重新提交，或联系管理员
                    alert(data.errorMsg)
                }
            })
        });
    </script>
</body>

</html>